/**
 * 
 */
package br.odb.bzk3.android;

import java.io.InputStream;
import java.util.ArrayList;

import br.odb.bzk3.geometry.GameActor;
import br.odb.libscene.Actor;
import br.odb.libscene.Sector;
import br.odb.libscene.World;

/**
 * @author monty
 *
 */
public class GameWorld extends World {
	public GameWorld(InputStream data, ArrayList<Actor> people) {
		super( data, people );
	}
	
	@Override
	public Sector makeSector(float x0, float x1, float y0, float y1, float z0,
			float z1) {

		return new GameSector( x0, x1, y0, y1, z0, z1 );
	}
	
	@Override
	public Actor makeActorAt(int sector, short candelas) {
		GameActor actor = new GameActor();
		actor.setCurrentSector( sector  );
		actor.setEmissiveLightningIntensity( candelas );
		return actor;
	}
}
